package com.summer.springboot.jdbc.service;

import com.summer.springboot.jdbc.entity.User;

import java.util.List;

public interface UserService {

    void save(User user);

    void deleteById(Long id);

    User getById(Long id);

    List<User> getAll();

}
